projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747dc65
)
gtkstyleproperties: zero GValue out before using G_VALUE_COLLECT_INIT()
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 30 May 2011 17:18:41 +0000
(19:18 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Mon, 30 May 2011 17:18:41 +0000
(19:18 +0200)
Fixes invalid reads in valgrind
gtk/gtkstyleproperties.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyleproperties.c
b/gtk/gtkstyleproperties.c
index 67073726c069247630a20a2a13ba54c106052fac..f6671f7466aac69909c789bb8a0337a8245387bd 100644
(file)
--- a/
gtk/gtkstyleproperties.c
+++ b/
gtk/gtkstyleproperties.c
@@
-620,7
+620,7
@@
gtk_style_properties_set_valist (GtkStyleProperties *props,
{
const GtkStyleProperty *node;
gchar *error = NULL;
- GValue val;
+ GValue val
= { 0 }
;
node = _gtk_style_property_lookup (property_name);